﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Weight.Dal.Base;
using Weight.Model.TableEntity;

namespace Weight.Bll.Base
{
    /// <summary>
    /// 对应关系业务类
    /// </summary>
    public class BllCorresponding
    {
        /// <summary>
        /// 业务类
        /// </summary>
        private DalCorresponding dal = new DalCorresponding();

        /// <summary>
        /// 获取对应关系列表
        /// </summary>
        /// <param name="correType">对应类型</param>
        /// <returns></returns>
        public List<CorrespondingEntity> GetList(string correType)
        {
            if (string.IsNullOrEmpty(correType)) return null;
            return dal.GetList(correType).ToList();
        }

    }
}
